package com.lwlk.zdk.mapper.pw;

import com.lwlk.zdk.model.pw.pwCheckTheDutyIssue;
import com.lwlk.zdk.model.pw.pwCheckTheDutyIssueExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface pwCheckTheDutyIssueMapper {
    int countByExample(pwCheckTheDutyIssueExample example);

    int deleteByExample(pwCheckTheDutyIssueExample example);

    int deleteByPrimaryKey(Integer[] id);

    int insert(pwCheckTheDutyIssue record);

    int insertSelective(pwCheckTheDutyIssue record);

    List<pwCheckTheDutyIssue> selectByExample(pwCheckTheDutyIssueExample example);

    pwCheckTheDutyIssue selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") pwCheckTheDutyIssue record, @Param("example") pwCheckTheDutyIssueExample example);

    int updateByExample(@Param("record") pwCheckTheDutyIssue record, @Param("example") pwCheckTheDutyIssueExample example);

    int updateByPrimaryKeySelective(pwCheckTheDutyIssue record);

    int updateByPrimaryKey(pwCheckTheDutyIssue record);

    int deleteBatch(@Param("integer") Integer integer);

    List<pwCheckTheDutyIssue> selectDim(@Param("topic") String topic, @Param("creator") String creator);

    pwCheckTheDutyIssue selectOne(@Param("topicType") String topicType);

    String selectQuestion(@Param("chdId") Integer chdId);
}